Relation between pressure and volume of a gas